home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
remote
/
swe_20.zip
/
SWE.DOC
< prev
next >
Wrap
Text File
|
1993-03-14
|
8KB
|
169 lines
------------------------------------------------------------------------------
SWE, Switch Fullscreen Editor
------------------------------------------------------------------------------
Version : 2.0 - Mar. 14, 1993
By: Jos Bergman, (c) JayBeeSoft 1993
Zwolle, The Netherlands
FidoNet: 2:512/54 MultiServer - Node 1 +31-38-541358 (V32b, HST16k8)
2:512/315 MultiServer - Node 2 +31-38-540882 (V32b, ZYX16k8)
------------------------------------------------------------------------------
New in version 2.0 : Made SWE RA2.00Γ1 compatible. No further changes.
Please use the EzyEdit options with care.. This editor
seems to be a little troublesome with SWE. I'll try to
make this one work perfectly also.. ;)
New in version 1.1 : Enabled usage of extra commandline parameters for the
editor in SWE.CTL. The new EzyEdit editor requires some
additional info on startup. Extra commandline parameters
can be defined in the CTL-file as of now.
------------------------------------------------------------------------------
This one's freeware, which means you're allowed to distribute and use this
program freely, no costs are involved. Also no person or organization may
distribute this program when payment is asked other than for the physical
media carrying this program.
Disassembling, reverse engineering and other changes to the program are
a violation of the above copyright, and thus not allowed.
This DOC-file is just a quick & dirty description of the program and it's
installation info. It's a simple to install/use program and does not need
a lot of documentation. Besides that, I'd like to keep the archive as small
as can be.. :-)
------------------------------------------------------------------------------
SWE (SWitchEditor), What does it do ?
-------------------------------------
Well, quite simple.. By installing this program you offer your users the
possibility to choose their own favourite fullscreen-editor to be used when
entering messages in your bulletin board system.
SWE, Who is it for ?
--------------------
For SysOps of a RemoteAccess, SuperBBS or QuickBBS bulletin board system.
The program had been tested on all three of this systems, so I guess it
should work for these SysOps.
SWE, How does it work ?
-----------------------
The program should be used as a replacement of your current 'fixed' fullscreen-
editor in your BBS-setup. This means a commandline for SWE replaces in fact
the commandline that is defined in your setup for the fullscreen-editor.
SWE knows of one commandline parameter only.. When used in a multinode
environment, you should pass the nodenumber here. For RAccess this would f.i.
be the '*N' option.
<Path>\SWE.EXE [-N:*N] [*M]
This parameter will be added to the parameters your BBS-package passes to the
fullscreen-editor (in this case to SWE.. ;).
SWE needs some external data to work properly. First of all you need to define
some usersecurity flags. For every editor you want to install you need one (1)
flag. SWE in fact has no real limit to this, so if you wanted to, you could
install exactly as many editors as you have flags available in your userfile.
Furthermore you need something to offer your users a possibility to switch the
current editor. This means you have to create some menu-options (f.i. in your
'User Settings' menu) to toggle the right flags. This is done by either using
the 'toggle user flag' menu-option, or 'SetFlag' in a questionaire file.
An example-menu has been added to this archive, one using some ANS/ASC files
to show the current editor to the user, the other one using the internal
menu-texts.. When you choose one of the editors, the flag that is defined for
this editor is toggled on, the other ones are set off..
Finally you need a controlfile in which the editors to be used are being
defined. This file (SWE.CTL) should be located in the directory where SWE.EXE
is. This could be any directory as far as I'm concerned..
Every line in this control file (SWE.CTL) holds one editor-definition.
The syntax for an editor-definition is :
<Userflag> <Drive:Path\Editorname> <Parameters>[*N] [*M]
The first two entries are quite self-explaining I guess, the editor may again
be in any directory. For a detailled installation of the editor you can act
exactly like when you would install the editor as a 'standalone' one.
The <Parameters> parameter ( ;-) ) has become necessary since the birth of
the EzyEdit editor. This one requires some additional info on its command line.
This Info can be added here. See the example below and the sample CTL-file.
The last two parameters perhaps need some extra explanation. Both are optional,
so you only have to supply them when needed by the editor or wanted by you.
Usage of the '*N' parameter will supply the BBS-nodenumber SWE is currently
running on to the editor. TopEd is an example of an editor that needs this
one when used in a multinode environment.
EzyEdit needs the *N parameter without a space between the <Parameters> and
the nodenumber !
Usage of the '*M' parameter is up to you... When you use some editors that
are quite memoey-consuming you could consider adding this parameter to the
editor-definition line. This one causes SWE to swap itself out of memory
when the editor is started, leaving just a small part of SWE in memory.
SWE first tries to swap to EMS, when you haven't got any EMS (left), SWE
uses a swap to your harddisk.
An example for the SWE.CTL file using the three most used (are there any
other ? ;) editors :
D5 C:\EDITORS\TOPED.EXE *N *M
D6 C:\EDITORS\GEDIT.EXE *M
D7 C:\EDITORS\QUICKED.EXE
D8 C:\EDITORS\EZYEDIT.EXE -RA -N*N *M
SWE, Some final last words...
-----------------------------
One thing to remember : SWE has no influence on the usersetting of the
fullscreen-editor. This means the user should have toggled the fullscreen-
editor toggled on to be able to use the chosen editor. When this isn't the
case it wouldn't matter which editor the user would choose, he still would
get the internal line-editor when writing messages..
I know this isn't the first editor-switcher that was written, this one was
created because the one that arrived here first wasn't doing what I wanted
it to do, so I started writing one of my own.
The result of this is that you now can't just choose your own fullscreen-
editor, but also you favourite switcher... :-)
Have fun with it !
SWE, Credits where credits are due...
-------------------------------------
Borland, for my Turbo Pascal package.
LiveSystems Software, for the RADoor Door Writing TPU's.
(And Gerhard Hoogterp himself, for some valuable hints..)
Andrew Milner & Continental Software, for RemoteAccess.
Aki Antman & Risto Virkkala, for SuperBBS.
Pegasus Software, for QuickBBS.
John & Steve Richardson & TopSoft Software, for TopEd.
Chris Patterson, for GEdit.
Dror Tirosh, for QuickEd.
Brad Vonarx, for EzyEdit.
SWE, The Beta-Team !
--------------------
Last but not least my beta-bashers
(Thanks for your efforts and valuable tips !):
Eddy Emck Computershop Utrecht BBS, 2:282/701
Frank Hemmelder NNN SuperBBS , 2:500/239
Sander Eek QuickBBS Support Europe , 2:283/507
Ron Huiskes Interface BBS , 2:281/506
--- EOD ---